﻿/**********************************天使物流*******************************************
* 功能描述:结算管理-应收费用管理
* 作者:石锦涛
* 时间:2022-01-10
* 
**********************************天使物流*******************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TianShiProject.Models.Common;

namespace TianShiProject.Models.SettleAccounts.NewExpensesReceis
{
    public interface INewReceisAppRepository
    {
        /// <summary>
        /// 显示应收费用
        /// </summary>
        /// <returns></returns>
        Task<PageResponse<NewExpensesReceiDto>> GetNewRecei(string unit, string account, int? state, string handle, string times, int pageindex = 1, int pagesize = 5);
        /// <summary>
        /// 逻辑删除
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        Task<PageResponse<NewExpensesReceiDto>> DeleteNewRecei(int Id);
        /// <summary>
        /// 应收费用修改
        /// </summary>
        /// <param name="newExpenses"></param>
        /// <returns></returns>
        Task<PageResponse<int>> UpdateNewRecei(NewExpensesReceiDto newExpenses);
        /// <summary>
        /// 添加应费用
        /// </summary>
        /// <param name="newExpenses"></param>
        /// <returns></returns>
        Task<PageResponse<int>> PostNewRecei(NewExpensesReceiDto newExpenses);
        /// <summary>
        /// 批量逻辑删除
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        Task<PageResponse<NewExpensesReceiDto>> DeleteNewReceiMser(string Id);

    }
}
